import 'package:flutter_basic_library/bean/pub_bean.dart';

/// 事件监听
abstract class CityPickerListener {
  /// 获取数据
  Future<List<AddressBean>> onDataLoad(int index, AddressBean addressNode);

  /// 选择完成
  void onFinish(List<AddressBean> data);
}
